//
//  BlockPostAFNYiBu.h
//  UI_封装AFN
//
//  Created by mac on 15/9/10.
//  Copyright (c) 2015年 lanou3g.com蓝欧科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
typedef void(^BlockPostAfnResult)(id result);
typedef void(^BlcokPostAfnError)(NSError * error);
@interface BlockPostAFNYiBu : NSObject

+ (void)PostAfnURLWithString:(NSString *)urlStr
                        Body:(NSDictionary *)body
                 resultBlock:(BlockPostAfnResult)resultBlcok
                  errorBlock:(BlcokPostAfnError)errorBlock;
/*
 NSString *str = @"http://ipad-bjwb.bjd.com.cn/DigitalPublication/publish/Handler/APINewsList.ashx";
 
 
 //body体
 NSDictionary *para = @{@"date":@"1427402047", @"startRecord":@"0",@"len":@"5",@"udid":@"1234567890",@"terminalType":@"Iphone",@"cid":@"215"};
 */

@end
